/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package librairie;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Khémon Beh
 * @author Florian Minin
 */
public class Message implements Serializable {
    
    private Map<String,Object> parametres;

    public Message(){
        parametres = new HashMap<String,Object>();
    }
    
    public void ajouterParametre(String cle, Object valeur){
        parametres.put(cle, valeur);
    }
    
    public Object recupererParametre(String cle){
        return parametres.get(cle);
    }
}
